package com.xc.hotelmgr.consumermq.pojo.mq;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class TaskHotelList implements Serializable {
    private static final long serialVersionUID = 1L;
    //携程独有
    private Integer AID;

    private Integer SID;

    private String KEY;

    private List<Long> cityIds;

    /**
     * 城市id实体列表
     */
    private List<HtXcCity> htXcCityList;

    //携程独有
    /**
     * 任务编码
     * 0 全量；1 根据地区；-1 异常id; 2 读取携带的酒店id;
     */
    private Long taskCode;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 酒店id列表
     */
    private List<Long> hotelList;

    /**
     * 分销商id
     */
    private Integer storeId;

    /**
     * 分组id
     */
    private Integer groupId;

    /**
     * 判断是否分组拉取
     */
    @Builder.Default
    private Boolean isGroup = false;

    /**
     * 判断数据是否结束
     */
    private Integer isEnd;


    private String appKey;

    private String sessionKey;

    private String secret;
}

